public TDocumentFormat GetFromExtensionAndHeader( System.string fileExtension, System.byte[] header, System.bool forReading )
Parameters
- fileExtension
- File extension without the dot, for example "txt", "docx" and so on.
- header
- File header. Can be null.
- forReading
- Indicates whether the file is for reading or for writing.